package puzzle.slilin2.solver;

import java.util.Comparator;

import puzzle.common.point.Loop;

class DistanceComparator implements Comparator<Loop> {

	public int compare(Loop o1, Loop o2) {
		return o1.getEndDistance() - o2.getEndDistance();
	}

}
